Codelight\GDPR\Components\Consent\ConsentManager A

Total Complexity 66
Dependencies 1
Dependents 9
Total lines 477
Lines of code 251
Logical lines of code 111
Comment lines 147
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
getClassiDocsdata()
A
45 12 43
registerCustomConsentTypes()
S
58 8 15
registerDefaultConsentTypes()
S
46 4 45
getConsentData()
S
56 5 19
getbySlugConsent()
S
61 5 13
withdrawConsent()
S
63 4 10
getdata()
S
59 3 14
giveConsent()
S
63 3 10
anonymize()
S
69 2 7
delete()
S
69 2 7
anonymizeConsent()
S
67 2 8
deleteConsent()
S
67 2 8
validateConsent()
S
71 2 6
isRegisteredConsent()
S
79 1 3
getAllConsents()
S
80 1 3
getAllConsentswithdetails()
S
80 1 3
gdpr_delete_log()
S
80 1 3
getuserlogsData()
S
75 1 4
saveCustomConsentTypes()
S
79 1 3
register()
S
67 1 8
getCustomConsentTypes()
S
79 1 3
getAllDataSubjectsByConsent()
S
91 1 2
getDefaultConsentTypes()
S
79 1 3
getConsentTypes()
S
78 1 3
__construct()
S
65 1 8